{config_load file="lang/$language/lang_$language.conf" section="shopping_cart"}
{config_load file="lang/$language/lang_$language.conf" section="product_info"}
<table class="w100p">
	<tr class="order_details_head">
		<td>&nbsp;</td>
		<td>&nbsp;</td>
		<td class="w40p fwb">{#text_article#}</td>
		<td class="w15p ac fwb">{#text_qty#}</td>
		<td class="w16p ar fwb">{#text_single#}</td>
		<td class="w16p ar fwb">{#text_total#}</td>
	</tr>	
	{foreach name=aussen item=module_data from=$module_content}
		<tr class="p_{$module_data.PRODUCTS_ID_CLEAN} shopping_cart_products">
			<td{if $module_data.PRODUCTS_ATTR_COUNT !=''} rowspan="{$module_data.PRODUCTS_ATTR_COUNT}"{/if} class="w1">
				<a class="cart_link" onclick="showOverlay('cart_quantity'); xajax_delete('{$module_data.PRODUCTS_ID}');" href="{$module_data.DEL_LINK}" title="{#text_remove#}">
					<img src="images/icons/bin-metal-full.png" alt="" />
				</a>
			</td>
			<td{if $module_data.PRODUCTS_ATTR_COUNT !=''} rowspan="{$module_data.PRODUCTS_ATTR_COUNT}"{/if}>
				{if $module_data.PRODUCTS_IMAGE}<img class="img_border" src="{$module_data.PRODUCTS_IMAGE}" alt="{$module_data.IMAGE_ALT}" />{else}&nbsp;{/if}
			</td>
			<td>
				<a href="{$module_data.PRODUCTS_LINK}">
					<strong id="p_n_{$module_data.PRODUCTS_ID_CLEAN}">{$module_data.PRODUCTS_NAME}</strong>
				</a>
				{if $module_data.PRODUCTS_SHIPPING_TIME neq ""}
					<br /><span class="fs85"><em>{#text_shippingtime#} {$module_data.PRODUCTS_SHIPPING_TIME}</em></span>
				{/if}
			</td>
			<td class="w20p ac">
				<a class="cart_link" href="{$module_data.MINUS_LINK}" onclick="showOverlay('cart_quantity'); xajax_minus('{$module_data.PRODUCTS_ID}');" title="{#text_one_remove#}">
					<img src="images/icons/arrow-down.png" alt="" />
				</a>
				{$module_data.PRODUCTS_QTY}
				<a class="cart_link" href="{$module_data.PLUS_LINK}" onclick="showOverlay('cart_quantity'); xajax_plus('{$module_data.PRODUCTS_ID}');" title="{#text_add#}">
					<img src="images/icons/arrow-up.png" alt="" />
				</a>
			</td>
			<td class="w22p ar" id="s_cost_{$module_data.PRODUCTS_ID}">
				{$module_data.PRODUCTS_SINGLE_PRICE}
			</td>
			<td class="w22p ar">
				<span id="cost_{$module_data.PRODUCTS_ID}">{$module_data.PRODUCTS_PRICE}</span> 
			</td>
		</tr>
		{if $module_data.ATTRIBUTES}
			{foreach key=key_data item=item_data from=$module_data.ATTRIBUTES}
				<tr class="p_{$module_data.PRODUCTS_ID_CLEAN}">
					<td>
						<em>{$item_data.NAME}: {$item_data.VALUE_NAME}{if $item_data.MODEL} | {#text_model#} {$item_data.MODEL}{/if}</em>
					</td>
					<td class="ac" id="a_q_{$item_data.ATTR_ID}">
						<em>{$item_data.ATTR_QTY}</em>
					</td>
					<td class="ar" id="a_s_{$item_data.ATTR_ID}">
						<em>{$item_data.PREFIX}{$item_data.SINGLE_PRICE}</em>
					</td>
					<td class="ar" id="a_t_{$item_data.ATTR_ID}">
						<em>{$item_data.PREFIX}{$item_data.PRICE}</em>
					</td>
				</tr>
			{/foreach}
			<tr class="p_{$module_data.PRODUCTS_ID_CLEAN}">
				<td colspan="3">&nbsp;</td>
				<td class="ar"><nobr>{#text_total#}: <u id="ts_{$module_data.PRODUCTS_ID_CLEAN}">{$module_data.PRODUCTS_PRICE_TOTAL}</u></nobr></td>
			</tr>
		{/if}
	{/foreach}
</table>
<div class="order_details_totalcost">
  	{$TOTAL_CONTENT}
	{foreach name=aussen item=shipping_data from=$shipping_content}
		{$shipping_data.NAME} ({$COUNTRY}): {$shipping_data.VALUE}<br /> 
	{/foreach}
	{$UST_CONTENT}
	{$TOTAL_CONTENT_NETTO}

	{if $TOTAL} 
		<div class="ot_total">{#text_total#}: {$TOTAL}</div>
	{elseif !$shipping_content}
		{if $SHIPPING_INFO}{$SHIPPING_INFO}{/if}
	{/if}
	{$SELECT_COUNTRY}
</div>
{$crossselling_cart}